package com.hxl.tech.gateway.auth.dto.user;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 用户 DTO 
 * @author soliddq
 * @date 2023-10-10
 */
@Data
public class UserSaveRegisterDTO {

    @ApiModelProperty(value = "用户名称", name = "user_name", required = true)
    @NotEmpty
    private String userName;

    @ApiModelProperty(value = "真实姓名", name = "real_name", required = true)
    @NotEmpty
    private String realName;

    @ApiModelProperty(value = "密码", name = "password", required = true)
    @NotEmpty
    private String password;

    @ApiModelProperty(value = "电话", name = "phone", required = true)
    @NotEmpty
    private String phone;

    @ApiModelProperty(value = "短信验证码", name = "sma_code", required = true)
    @NotEmpty
    private String smsCode;

}
